<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/2/4
 * Time: 15:53
 */
declare(strict_types=1);

namespace App\Constants;

use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;

/**
 * @Constants
 */
class StrStatus extends AbstractConstants
{

    /**
     * 商户相关
     */
    const MCH_INFO_STATUS = [
        0 => "禁用",
        1 => "正常",
    ];

    const MCH_INFO_API_STATUS = [
        0 => "禁用",
        1 => "正常",
    ];

    const MCH_INFO_REG_STATUS = [
        0 => "待审",
        1 => "通过",
        2 => "驳回",
        3 => "禁用",
    ];

    const MCH_INFO_LOGIN_STATUS = [
        0 => "禁用",
        1 => "正常",
    ];

    const MCH_INFO_EDIT_STATUS = [
        0 => "待审",
        1 => "通过",
        2 => "驳回",
    ];

    /**
     * 商户网站
     */
    const MCH_TRADE_WEBSITE_REVIEW_STATUS = [
        0 => '待审核',
        1 => '已审核',
        2 => '驳回',
    ];

    /**
     * 商户注册邮件地址
     */
    const MCH_REG_EMAIL_REVIEW_STATUS = [
        0 => '待审核',
        1 => '已审核',
        2 => '已驳回',
    ];

    const TRADE_ORDER_DETAIL_IS_REFUND = [
        0 => '未退款',
        1 => '待审核',
        2 => '初审通过',
        3 => '初审驳回',
        4 => '已退款',
        5 => '复审驳回'
    ];

    const TRADE_ORDER_DETAIL_IS_DIS = [
        0 => '未拒付',
        1 => '待审核',
        2 => '初审通过',
        3 => '初审驳回',
        4 => '已拒付',
        5 => '复审驳回'
    ];

    const TRADE_ORDER_DETAIL_IS_FROZEN = [
        0 => '未冻结',
        1 => '待审核',
        2 => '初审通过',
        3 => '初审驳回',
        4 => '已冻结',
        5 => '复审驳回'
    ];

    const TRADE_ORDER_DETAIL_IS_THAW = [
        0 => '未解冻',
        1 => '待审核',
        2 => '初审通过',
        3 => '初审驳回',
        4 => '已解冻',
        5 => '复审驳回'
    ];

    const TRADE_ORDER_DETAIL_IS_SETTLE = [
        0 => '未结算',
        1 => '待审核',
        2 => '已结算',
    ];

    /**
     * 交易变更处理相关
     */
    const TRADE_ORDER_TRANS_HANDLE_STATUS = [
        0 => '初审待审',
        1 => '初审通过',
        2 => '初审驳回',
        3 => '复审通过',
        4 => '复审驳回',
    ];

    const TRADE_ORDER_TRANS_REVIEW_STATUS = [
        0 => '待审核',
        1 => '已审核',
        2 => '驳回',
    ];

    const TRADE_ORDER_TRANS_RE_REVIEW_STATUS = [
        0 => '待审核',
        1 => '已审核',
        2 => '驳回',
    ];

    /**
     * 提现/转账
     */
    const TRADE_TRANS_TYPE = [
        1 => '提现',
        2 => '转账'
    ];

    /**
     * 强制成功
     */
    const TRADE_ORDER_FORCE_SUCCESS_STATUS = [
        0 => '未执行',
        1 => '执行中',
        2 => '执行成功',
        3 => '执行失败'
    ];

    /**
     * 银行退款
     */
    const TRADE_ORDER_REFUND_BANK_BANK_REFUND_STATUS = [
        0 => '未处理',
        1 => '银行处理成功',
        2 => '银行退款失败',
    ];

    /**
     * 事件订单处理相关
     */
    const EVENT_ORDER_HANDLE_STATUS = [
        0 => '初审待审',
        1 => '初审通过',
        2 => '初审驳回',
        3 => '复审通过',
        4 => '复审驳回',
    ];

    const EVENT_ORDER_REVIEW_STATUS = [
        0 => '待审核',
        1 => '已审核',
        2 => '驳回',
    ];

    const EVENT_ORDER_RE_REVIEW_STATUS = [
        0 => '待审核',
        1 => '已审核',
        2 => '驳回',
    ];

    const EVENT_ORDER_SETTLE_STATUS = [
        0 => '待结算',
        1 => '已结算',
    ];

    const EVENT_ORDER_ACCOUNT_TYPE = [
        1 => '交易可提现账户',
        2 => '交易冻结账户',
        3 => '保证金冻结账户',
        4 => '事件冻结账户',
        5 => '事件待审账户',
    ];

    const EVENT_ORDER_TYPE = [
        8001 => '冻结',
        8002 => '扣款',
        8003 => '充值',
        8004 => '解冻',
    ];

    /**
     * 出入账相关
     */
    const MCH_ACCOUNT_ACCESS_TYPE = [
        1001 => '交易成功结算',
        1002 => '交易成功保证金冻结结算',
        2001 => '交易退款结算',
        3001 => '交易拒付调查费结算',
        4001 => '交易冻结结算',
        5001 => '交易解冻结算',
        6001 => '交易失败结算',
        7001 => '保证金解冻结算',
        8001 => '事件冻结订单结算',
        8002 => '事件扣款订单结算',
        8003 => '事件充值订单结算',
        8004 => '事件解冻订单结算',
        9001 => '提现单结算',
        1101 => '转账单结算',
        1201 => '拒付处理费结算',
        1301 => '销售提现结算',
    ];

    const MCH_ACCOUNT_ACCESS_DETAIL_IN_OUT_TYPE = [
        1 => '出账',
        2 => '入账',
    ];

    /**
     * 销售业绩相关
     */
    const COMMISSION_SALES_HANDLE_STATUS = [
        -1 => '未提现',
        0 => '初审待审',
        1 => '初审通过',
        2 => '初审驳回',
        3 => '复审通过',
        4 => '复审驳回',
    ];
}
